//
//  XLLoadingViewController.m
//  XiangLove
//
//  Created by 陈宪栋 on 2017/11/28.
//  Copyright © 2017年 BAOMIHUA.COM. All rights reserved.
//

#import "XLLoadingViewController.h"
#import <MBProgressHUD+BMH.h>
 
#import <Masonry.h>
#import <UtilsMacro.h>

@interface XLLoadingViewController ()
@property (nonatomic, strong) UIImageView *imageView;
@end

@implementation XLLoadingViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.fd_prefersNavigationBarHidden = YES;
    _imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:F(@"%.0f-%.0f", ScreenWidth * [UIScreen mainScreen].scale, ScreenHeight * [UIScreen mainScreen].scale)]];
    [self.view addSubview:_imageView];
    [_imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.view);
    }];
//    [MBProgressHUD showMessage:@"登录中..." toView:self.view];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
